﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ClientAppViaWebService.BaseLogicServiceRef;

namespace ClientAppViaWebService.DBAdministration
{
    public partial class ChooseDataBaseForm : Form
    {
        public string SelectedDataBase;
        private BaseLogicService service = new BaseLogicService();

        public ChooseDataBaseForm()
        {
            InitializeComponent();
            cmbDatabases.DataSource = service.SelectAvailableDataBases();
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            SelectedDataBase = cmbDatabases.SelectedValue.ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
         
        }
    }
}
